/***********************************************************************/
/* Open Visualization Data Explorer                                    */
/* (C) Copyright IBM Corp. 1989,1999                                   */
/* ALL RIGHTS RESERVED                                                 */
/* This code licensed under the                                        */
/*    "IBM PUBLIC LICENSE - Open Visualization Data Explorer"          */
/***********************************************************************/
#define SPHR42PTS 42
#define SPHR42TRS 80
static Point points[SPHR42PTS] = {
    {0.0000000000F, -1.0000000000F, 0.0000000000F},
    {0.5877852440F, -0.8090170026F, 0.0000000000F},
    {0.4755282402F, -0.8090170026F, 0.3454914987F},
    {0.1816356033F, -0.8090170026F, 0.5590170026F},
    {-0.1816356480F, -0.8090170026F, 0.5590169430F},
    {-0.4755282700F, -0.8090170026F, 0.3454914689F},
    {-0.5877852440F, -0.8090170026F, -0.0000000514F},
    {-0.4755282104F, -0.8090170026F, -0.3454915285F},
    {-0.1816356927F, -0.8090170026F, -0.5590169430F},
    {0.1816357076F, -0.8090170026F, -0.5590169430F},
    {0.4755283892F, -0.8090170026F, -0.3454912901F},
    {0.9510565400F, -0.3090170026F, 0.0000000000F},
    {0.7694208622F, -0.3090170026F, 0.5590170026F},
    {0.2938925922F, -0.3090170026F, 0.9045085311F},
    {-0.2938926816F, -0.3090170026F, 0.9045084715F},
    {-0.7694209218F, -0.3090170026F, 0.5590169430F},
    {-0.9510565400F, -0.3090170026F, -0.0000000831F},
    {-0.7694208026F, -0.3090170026F, -0.5590170622F},
    {-0.2938927412F, -0.3090170026F, -0.9045084715F},
    {0.2938927412F, -0.3090170026F, -0.9045084715F},
    {0.7694211006F, -0.3090170026F, -0.5590167046F},
    {0.9510565400F, 0.3090170026F, 0.0000000000F},
    {0.7694208622F, 0.3090170026F, 0.5590170026F},
    {0.2938925922F, 0.3090170026F, 0.9045085311F},
    {-0.2938926816F, 0.3090170026F, 0.9045084715F},
    {-0.7694209218F, 0.3090170026F, 0.5590169430F},
    {-0.9510565400F, 0.3090170026F, -0.0000000831F},
    {-0.7694208026F, 0.3090170026F, -0.5590170622F},
    {-0.2938927412F, 0.3090170026F, -0.9045084715F},
    {0.2938927412F, 0.3090170026F, -0.9045084715F},
    {0.7694211006F, 0.3090170026F, -0.5590167046F},
    {0.5877852440F, 0.8090170026F, 0.0000000000F},
    {0.4755282402F, 0.8090170026F, 0.3454914987F},
    {0.1816356033F, 0.8090170026F, 0.5590170026F},
    {-0.1816356480F, 0.8090170026F, 0.5590169430F},
    {-0.4755282700F, 0.8090170026F, 0.3454914689F},
    {-0.5877852440F, 0.8090170026F, -0.0000000514F},
    {-0.4755282104F, 0.8090170026F, -0.3454915285F},
    {-0.1816356927F, 0.8090170026F, -0.5590169430F},
    {0.1816357076F, 0.8090170026F, -0.5590169430F},
    {0.4755283892F, 0.8090170026F, -0.3454912901F},
    {0.0000000000F, 1.0000000000F, 0.0000000000F}};

#include <dxconfig.h>

static Point normals[SPHR42PTS] = {
    {0.0000000000F, -1.0000000000F, 0.0000000000F},
    {0.5877852440F, -0.8090170026F, 0.0000000000F},
    {0.4755282402F, -0.8090170026F, 0.3454914987F},
    {0.1816356033F, -0.8090170026F, 0.5590170026F},
    {-0.1816356480F, -0.8090170026F, 0.5590169430F},
    {-0.4755282700F, -0.8090170026F, 0.3454914689F},
    {-0.5877852440F, -0.8090170026F, -0.0000000514F},
    {-0.4755282104F, -0.8090170026F, -0.3454915285F},
    {-0.1816356927F, -0.8090170026F, -0.5590169430F},
    {0.1816357076F, -0.8090170026F, -0.5590169430F},
    {0.4755283892F, -0.8090170026F, -0.3454912901F},
    {0.9510565400F, -0.3090170026F, 0.0000000000F},
    {0.7694208622F, -0.3090170026F, 0.5590170026F},
    {0.2938925922F, -0.3090170026F, 0.9045085311F},
    {-0.2938926816F, -0.3090170026F, 0.9045084715F},
    {-0.7694209218F, -0.3090170026F, 0.5590169430F},
    {-0.9510565400F, -0.3090170026F, -0.0000000831F},
    {-0.7694208026F, -0.3090170026F, -0.5590170622F},
    {-0.2938927412F, -0.3090170026F, -0.9045084715F},
    {0.2938927412F, -0.3090170026F, -0.9045084715F},
    {0.7694211006F, -0.3090170026F, -0.5590167046F},
    {0.9510565400F, 0.3090170026F, 0.0000000000F},
    {0.7694208622F, 0.3090170026F, 0.5590170026F},
    {0.2938925922F, 0.3090170026F, 0.9045085311F},
    {-0.2938926816F, 0.3090170026F, 0.9045084715F},
    {-0.7694209218F, 0.3090170026F, 0.5590169430F},
    {-0.9510565400F, 0.3090170026F, -0.0000000831F},
    {-0.7694208026F, 0.3090170026F, -0.5590170622F},
    {-0.2938927412F, 0.3090170026F, -0.9045084715F},
    {0.2938927412F, 0.3090170026F, -0.9045084715F},
    {0.7694211006F, 0.3090170026F, -0.5590167046F},
    {0.5877852440F, 0.8090170026F, 0.0000000000F},
    {0.4755282402F, 0.8090170026F, 0.3454914987F},
    {0.1816356033F, 0.8090170026F, 0.5590170026F},
    {-0.1816356480F, 0.8090170026F, 0.5590169430F},
    {-0.4755282700F, 0.8090170026F, 0.3454914689F},
    {-0.5877852440F, 0.8090170026F, -0.0000000514F},
    {-0.4755282104F, 0.8090170026F, -0.3454915285F},
    {-0.1816356927F, 0.8090170026F, -0.5590169430F},
    {0.1816357076F, 0.8090170026F, -0.5590169430F},
    {0.4755283892F, 0.8090170026F, -0.3454912901F},
    {0.0000000000F, 1.0000000000F, 0.0000000000F}};

static Triangle triangles[] = {{0, 1, 2},
                               {0, 2, 3},
                               {0, 3, 4},
                               {0, 4, 5},
                               {0, 5, 6},
                               {0, 6, 7},
                               {0, 7, 8},
                               {0, 8, 9},
                               {0, 9, 10},
                               {0, 10, 1},
                               {1, 12, 2},
                               {1, 11, 12},
                               {2, 12, 3},
                               {3, 12, 13},
                               {3, 14, 4},
                               {3, 13, 14},
                               {4, 14, 5},
                               {5, 14, 15},
                               {5, 16, 6},
                               {5, 15, 16},
                               {6, 16, 7},
                               {7, 16, 17},
                               {7, 18, 8},
                               {7, 17, 18},
                               {8, 18, 9},
                               {9, 18, 19},
                               {9, 20, 10},
                               {9, 19, 20},
                               {10, 20, 1},
                               {1, 20, 11},
                               {11, 21, 12},
                               {12, 21, 22},
                               {12, 23, 13},
                               {12, 22, 23},
                               {13, 23, 14},
                               {14, 23, 24},
                               {14, 25, 15},
                               {14, 24, 25},
                               {15, 25, 16},
                               {16, 25, 26},
                               {16, 27, 17},
                               {16, 26, 27},
                               {17, 27, 18},
                               {18, 27, 28},
                               {18, 29, 19},
                               {18, 28, 29},
                               {19, 29, 20},
                               {20, 29, 30},
                               {20, 30, 21},
                               {20, 21, 11},
                               {21, 32, 22},
                               {21, 31, 32},
                               {22, 32, 23},
                               {23, 32, 33},
                               {23, 34, 24},
                               {23, 33, 34},
                               {24, 34, 25},
                               {25, 34, 35},
                               {25, 36, 26},
                               {25, 35, 36},
                               {26, 36, 27},
                               {27, 36, 37},
                               {27, 38, 28},
                               {27, 37, 38},
                               {28, 38, 29},
                               {29, 38, 39},
                               {29, 40, 30},
                               {29, 39, 40},
                               {30, 40, 21},
                               {21, 40, 31},
                               {31, 41, 32},
                               {32, 41, 33},
                               {33, 41, 34},
                               {34, 41, 35},
                               {35, 41, 36},
                               {36, 41, 37},
                               {37, 41, 38},
                               {38, 41, 39},
                               {39, 41, 40},
                               {40, 41, 31}};
